﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Threading;

namespace Ellanet
{
    class Program
    {
        const int splashSeconds = 3;

        [STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.DoEvents();
            //Splash splash = new Splash();
            //splash.Show();
            //splash.Refresh();
            //DateTime splashStart = DateTime.Now;

            //while (splashStart.AddSeconds(splashSeconds) > DateTime.Now)
            //{
            //    Thread.Sleep(500);
            //}

            //splash.Close();
            Application.Run(new vmrunGUI());
            //todo Make test host connection another thread                                       
            //todo XML output for results
            //todo Some blurb on an error
            //todo Allow some commands to have different timeouts (installTools)
            //todo Splash screen
            //todo Options for overiding vmrunGUI.xml path
        }
    }
}
